package com.gtq.uhome.mapper;

import com.gtq.uhome.pojo.CourierState;

import java.sql.Timestamp;
import java.util.List;

/**
 * 用户协议内容mapper
 *
 */
public interface BasicSettingsMapper {
    //添加协议
    int insertAgreement(String agreement);
    //设置以前协议失效
    int setStatus();

    //修改站点客服电话
    int updateSitePhoneNumber(String sitePhoneNumber);


    //设置配送人员接单时间 pick_time接单时间
    int updatePickTime(Timestamp pickTime, Integer courierId);

    //通过状态查询空闲派送员ID
    List<CourierState> selectByCourierState(Integer courierState);

}
